#ifndef CHESSPANELCONTROLLER_H
#define CHESSPANELCONTROLLER_H

#include "Headers.h"
#include "Controller.h"
#include "GameInfo.h"
#include "ChessPanelRecView.h"

class ChessPanelRecController : public QObject, public Controller
{
    Q_OBJECT
private:
    ChessPanelRecView * chessPanelRecView;

    QVector<GameInfo *> * gameInfos;
public:
    explicit ChessPanelRecController(QWidget *parent = 0);
    ~ChessPanelRecController();

    void start();
    void addGameInfo(GameInfo * info);
signals:
    void startSimulation();
    void pause();
    void resume();
    void stop();
    void currentRecord(int);
public slots:
    void gameListIndexChanged(int index);
};

#endif // CHESSPANELCONTROLLER_H
